<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
{{assign var="title" value='会员'}}
{{assign var="app" value='user'}}
{{assign var="table" value='user'}}
{{assign var="act" value='modify'}}
{{assign var="oauth_type" value='oauth_type'|C}}
<title>{{'admin_site_name'|C|default:'后台管理'}} - {{$title}}</title>
{{include file="include/base.html"}}
{{include file="{{$smarty.const.PLUG}}chosen/chosen.html"}}
{{include file="{{$smarty.const.PLUG}}drag/drag.html"}}
{{include file="{{$smarty.const.PLUG}}verify/verify.html"}}
</head>


<body>

	{{include file="include/sidebar.html"}}

	<div class="body_right">
	<div id="content">
	<div class="search">
		<ul class="bread">
			<li>◆ {{$title}}管理 －> {{$result.title|default:'详情'}}</li>
		</ul>
	</div>
			
		<!--内容 S-->
		<table class="table table-bordered tablest modify">
		  <tbody>
			<tr>
				<td>用户名：</td>
				<td>
					<span>{{$result.username}}</span>
				</td>
			</tr>
			<tr>
				<td>角色：</td>
				<td>
					{{$result.role}}
				</td>
			</tr>
			<tr>
				<td>email：</td>
				<td>
					<span>{{$result.email}}</span>
				</td>
			</tr>
			<tr>
				<td>第三方登录：</td>
				<td>
					{{foreach from=$oauth_type item=val key=key}}
					{{if $result["openid_$key"]}}
					<p style='padding:2px;'>{{$val}}：{{$result.params.nickname.$key}}&emsp;<a class="btn btn-danger ajaxSubmit confirm refresh" lang="确定要解除{{$val}}绑定吗？" link="index.php?app={{$app}}&act=unbind&id={{$result.id}}&type={{$key}}">{{$val}}解绑定</a></p>
					{{/if}}
					{{/foreach}}
				</td>
			</tr>

		  </tbody>
		</table>
		<!--内容 E-->
</div>
</div>
{{include file="{{$smarty.const.PLUG}}ueditor/ueditor.html"}}
</body>
</html>